﻿<controls:ChildWindow x:Class="mpost.SilverlightMultiFileUpload.MessageChildWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="100" 
           Title="Message"
                      x:Name="_this">
    <Grid x:Name="LayoutRoot" Background="Transparent">       
        <StackPanel Orientation="Vertical"  Background="Transparent" Margin="5">
           <TextBlock x:Name="MessageTextBlock" HorizontalAlignment="Center" MinHeight="20" Text="{Binding ElementName=_this, Path=Message}"></TextBlock>
            <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23"></Button>
        </StackPanel>
       
    </Grid>    
</controls:ChildWindow>